package cn.wolfcode.cms.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

//首页
@Controller
public class IndexController {
    //登录失败之后跳转
    @RequestMapping("login")
    public String login() {
        return "redirect:/login.jsp";
    }


    @RequestMapping("index")
    public String index() {
        return "redirect:/index.jsp";
    }


}
